package com.laosg.spring.small.core02.exception;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>description: some thing </p>
 *
 * @author kevin
 * @date 8/23/21
 */
public class UserDao {
    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "Kevin");
        hashMap.put("10002", "laosg");
        hashMap.put("10003", "carl");
    }
    public String queryUserName(String uId) {
        return hashMap.get(uId);
    }

}
